package com.pro.util;

import javax.servlet.http.HttpServletResponse;

/**
 * @author Administrator
 *
 */
public class BusinessException extends Exception{
	
	private String reason;
	private HttpServletResponse resp;
	
	public BusinessException(String exceptionReason,HttpServletResponse resp) {
		super("流程出错：" + exceptionReason);
		this.reason = exceptionReason;
		this.resp = resp;
	}

	public String getCause1() {
		return reason;
	}

	public void setCause(String cause) {
		this.reason = cause;
	}

	public HttpServletResponse getResp() {
		return resp;
	}

	public void setResp(HttpServletResponse resp) {
		this.resp = resp;
	}

	
	
	
	
	
}
